@extends('layouts.master')

@section("css")
    @parent
    <link rel="stylesheet" type="text/css" href="/css/pages/list.css">
    <link rel="stylesheet" type="text/css" href="/css/pages/level/list.css">
@stop

@section("body")
@include("components.left")

<div class="list_content">
    <div class="list_table">
        <table>
            <thead>
                <tr>
                    <th>编号</th>
                    <th>肥胖等级</th>
                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                @foreach($levels as $level)
               <tr>
                   <td>{{$level['id']}}</td>
                   <td><input id="level_name" type="" name="" value="{{$level['level_name']}}"></td>
                   <td>
                       <div id="update_btn" class="get_btn">修改</div>
                       <div class="delete_btn">删除</div>
                   </td>
               </tr>
               @endforeach
            </tbody>
        </table>
    </div>
    <div class="create_title">
        <img src="/images/houtaianliku_12.png">
        添加肥胖等级
    </div>
    <div class="create_box">
        <div class="rol_div">
            <div class="label_div">
                肥胖等级
            </div>
            <div class="input_div">
                <input id="create_level_name" type="text" name="">
            </div>
        </div>
    </div>
    <div class="btn_div">
        <div id="create_btn" class="create_btn">
            新建
        </div>
    </div>
</div>
@stop

@section("js")
    @parent
    <script type="text/javascript" src="/js/pages/level/list.js"></script>
@stop